#pragma once
#include "dcl_PowerFlowCalc.h"
class CWireElecInfo;
class HBaseView;
typedef struct AnimationDisplay
{
	HBaseView* pHview;
}MyAnimationPlay;
class DEF_POWERFLOWCALC CPowerFlowCalcInterface
{
public:
	CPowerFlowCalcInterface(void);	
	~CPowerFlowCalcInterface(void);

public:
	static void CreateNewWireElecInfoDlg(HBaseView* pHView,CWireDisplayObj* pDis);
	static int/*DWORD WINAPI*/  DisplayPowerFlowAnimation(HBaseView* pHView/*LPVOID lpParam*/);
	static int /*DWORD WINAPI*/ DisplayPowerFlowAnimationInSchematicLayer(HBaseView* pHView /*LPVOID lpParam*/);
	static void DisplaySchBusPowerFlowAnimation( CSchematicBusDisplayObj* pSchBusDisObj,HBaseView* pHView );

	static int DisplaySubSystemPowerFlowAnimation( HBaseView* pHView );
	static void CheckDirection(CWire* pWire);
protected:
	static WireDirection GetDirectionOfSchBusLastSeg(CSchematicBusDisplayObj* pSchBusDis);
public:
//	CWireElecInfo* m_pWireElecInfo;
// 	HBaseView* m_pHView;
// 	CWire* pWire;
};

